package com.xiaoshuidi.cloud.module.contract.api;

import com.xiaoshuidi.cloud.framework.common.pojo.CommonResult;
import com.xiaoshuidi.cloud.module.contract.enums.ApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = ApiConstants.SERVERNAME)
public interface ContractApplyApi {

    /**
     * 统计未完成的租客申请数量
     * @return 租客申请数量
     */
    @GetMapping(ApiConstants.PREFIX + "/contract-apply-num")
    CommonResult<Long> contractApplyNum();
}
